package orchestration.android;
import orchestration.android.ICallback;
import orchestration.android.parcelable.ParcelableProperty;
import orchestration.android.parcelable.ParcelableAndroidTaskDTO;
import android.net.Uri;

// Declare the interface.
interface IBusinessProcess{
//this part could be oneway
	void saveProperty(in Uri executionUri,String key,in ParcelableProperty property);
//TODO add a saveProperties method
	void execute(in Uri executionUri, String key,boolean repeatLast);
	void releaseExecution(in Uri executionUri,String key);
	void registerForExecution(in Uri executionUri,ICallback callback);
//this part needs to return a result..
	ParcelableProperty getProperty(in Uri executionUri,String artifactName);	
	ParcelableAndroidTaskDTO getLastNodeInfo(in Uri executionUri,String key);
}